<?php
class Cms_View_Helper_CmsUrl
{
    public $view;

    public function cmsUrl($params,$url)
    {
		foreach($params as &$param)
		{
			$param = base64_encode($param);
		}
		
		return $this->view->url($params,$url);
    }

    public function setView(Zend_View_Interface $view)
    {
        $this->view = $view;
    }
}
?>